W32: correctly guess max window size from the size of the workarea of the screen...
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 10 Apr 2014 20:05:19 +0000 (20:05 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 16 Apr 2014 22:39:56 +0000 (22:39 +0000)
commit42ee23769164bbc912082215619e792fe7b130ca
tree3398153273279ac30edc58470f560d4f736c247e
parent0ebc4decbb9859071c9b47cf35a4d3f702b5b354
W32: correctly guess max window size from the size of the workarea of the screen it's on

Get monitor on which the most of the window is located (nearest monitor if
window is not on screen), get its work area (area not occupied by taskbar or
any other bars) and use that for maxsize.

Previous default of 30000 meant that windows maximized onto full screen,
even covering the area where taskbar is.

https://bugzilla.gnome.org/show_bug.cgi?id=726592
gdk/win32/gdkevents-win32.c